Bug 1969769 - Change uses of ast.Str with ast.Constant. r=firefox-build-system-review...
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 19 Aug 2025 05:09:09 +0000 (05:09 +0000)
committerMike Hommey <glandium@debian.org>
Wed, 19 Aug 2026 00:51:19 +0000 (09:51 +0900)
commit3c2725df23b69c9a20445f8807f4e5ea4b083456
tree9e2ace0c510bb1e34f9b6dfcba15c1321a57a98d
parent280d13c03103f374d7fa8bd6b7664989ed2fa2ab
Bug 1969769 - Change uses of ast.Str with ast.Constant. r=firefox-build-system-reviewers,ahochheiden

ast.Str was deprecated in python 3.12 and removed in 3.14. It inherited
from ast.Constant, `Str.s` was equivalent to `Constant.value`, so we can
use the latter on both old and newer python versions.

Differential Revision: https://phabricator.services.mozilla.com/D261512

Gbp-Pq: Topic fixes
Gbp-Pq: Name Bug-1969769-Change-uses-of-ast.Str-with-ast.Constant.patch
python/mozbuild/mozbuild/frontend/reader.py
python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py